<div class="alignleft" id="sidebar">
	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('Delete Task', true), array('action' => 'delete', $this->Form->value('Task.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Task.id'))); ?></li>
			<li><?php echo $this->Html->link(__('New Task', true), array('action' => 'add')); ?> </li>
<!--			<li><?php echo $this->Html->link(__('List Tasks', true), array('action' => 'index'));?></li>
			<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li> -->
		</ul>
	</div>
</div>
<!-- /Sidebar -->

<div class="alignleft" id="main">
	<div class="tasks form">
		<?php echo $this->Form->create('Task');?>
		<fieldset>
	 		<legend><?php __('Edit Task'); ?></legend>
		<?php
			echo $this->Form->input('id');
			echo $this->Form->input('user_id', array('default' => $this->Session->read('Auth.User.id'), 'readonly' => 'readonly', 'type' => 'hidden'));
			echo $this->Form->input('title');
			echo $this->Form->input('complete_on');
			//	echo $this->Form->input('completed_on');
		?>
		</fieldset>
		<?php echo $this->Form->end(__('Submit', true));?>
	</div>
</div>
<!-- /Main -->
